package com.niit.blog.entity.page;

import com.github.pagehelper.IPage;

public class PageParam implements IPage {
    //页码
    private Integer pageNum = 1;

    //页数，我这里设置默认设置2，一般是10，20
    private Integer pageSize = 2;

    //排序
    private String orderBy;

    @Override
    public Integer getPageNum() {
        return pageNum;
    }

    @Override
    public Integer getPageSize() {
        return pageSize;
    }

    @Override
    public String getOrderBy() {
        return orderBy;
    }

}
